import { service } from '@/service'

export const authLogin = (token?: any) => {
  return service.request({
    url: 'hbsys-system/ca/auth/login/' + token,
    method: 'GET'
  })
}


// // 愉快办登录
// export const userYKBLogin = (authCode) => {
//   return service.request({
//     url: `${Api.YKBLogin}/${authCode}`,
//     method: 'GET'
//   })
// }

//愉快办登录
export const ykbAuthLogin = (ykbToken?: any) => {
  return service.request({
    url: 'hbsys-system/sorg/info/getYKBUser/' + ykbToken,
    method: 'GET'
  })
}
